package com.hehe.mapper;

import com.hehe.entity.GoodsCollection;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsCollectionMapper extends Mapper<GoodsCollection> {
    int add(@Param("userid") int userid,@Param("goods_id") int goods_id);

    int del(int coll_id);

//    int update(GoodsCollection collection);

    List<GoodsCollection> findByUserId(int userid);

//    List<GoodsCollection> findAll(int userid);
}
